import http from '@/utils/http'

/**
 * 获取全部数据
 */
export const getListApi = async(param) => {
  return http.get('/api/**/list', param)
}

/**
 * 修改课程信息
 */
export const editDataByIdApi = async(param) => {
  return http.put('/api/**', param)
}

/**
 * 根据id删除课程信息
 */
export const deleteByIdApi = async(param) => {
  return http.delete('/api/**', param)
}


